package com.itheima.zuoye;
import  java.util.Random;
public class Demo1 {
    public static void main(String[] args) {
        int sum=0;
        Random ran=new Random();
        for (int i = 0; i <30 ; i++) {
            int rd=ran.nextInt(100);
            if(rd>=5){
                sum+=rd;
            }
        }

        System.out.println(sum);
    }
}
